{config_load file=test.conf section="setup"}
{include file="header.tpl" title=Category Name=Modify}

<PRE>
<form method="post" name="category_c" action="category_updating.php">
<table border="1">
	<tr>
		<td>Select old Category:</td>
		<td><select name="old_category" id="old_category">
				{section name = i loop = $categories}
					{$categories[i]}
				{/section}
			</select>
		</td>
	</tr>
	<tr>
		<td>New Category:</td>
		<td><input type="text" name="category" id="category" /></td>
	</tr>
	{section name = i loop = $faculties}
	<tr>
		<td>
		<input type="checkbox" name="ch{$smarty.section.i.row.num}" id="ch{$smarty.section.i.row.num}" value="{$smarty.section.i.row.num}"/>
		</td>
		<td>{$faculties[i]}</td>		
	</tr>
	{/section}
	<tr>
		<td colspan="2" align="right">
			<input type="submit" name="modify_category" id="modify_category" value="Modify"/>
		</td>
	</tr>
</table>
</form>
</PRE>

<a href="../questions.php">back to QUESTION</a>

{include file="footer.tpl"}